from appium.webdriver.common.appiumby import AppiumBy

from .add_member_manual_page import AddMemberManualPage
from ..base.base import Base


class AddMemberWaysPage(Base):
    __ADD_SELF = (AppiumBy.XPATH, "//*[@text='手动输入添加']")

    def goto_add_member_manual_page(self):
        self.find_ele(self.__ADD_SELF).click()
        return AddMemberManualPage(self.driver)
